(function(window) {
    window.server = {
        root: '/',
        // root: 'http://172.30.5.37:8080/',
        //按照页面编写每个页面的接口
        index: function() {
            return {
                //根据开票码获取开票信息
                findTzUserinfoForRequestkp: this.root + 'portal/allow/qrbarcodes/findTzUserinfoForRequestkp.action',
                //根据输入模糊匹配
                findInvoiceMake: this.root + 'nuonuo/invoice/findInvoiceMake.action',
                //判断是否有客史
                getKpInfoByKpName: this.root + 'nuonuo/invoice/meituan/getKpInfoByKpName.action',
                //提交代码
                submitInvoicInfo: this.root + 'nuonuo/invoice/meituan/submitInvoicInfo.action',
                //获取详细信息
                getDetailInfo: this.root + 'nuonuo/invoice/meituan/getDetailInfo.action',
                //根据id获取信息
                getDetailsInfoById: this.root + 'nuonuo/invoice/meituan/getDetailsInfoById.action',
            }
        },
        details:function(){
            return {
                //取消开票请求
                delInvoiceInfo :this.root + 'nuonuo/invoice/meituan/delInvoiceInfo.action'
            }
        }
    }
})(window)